home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / pdftops / xpdf / h / config < prev    next >
Text File  |  1996-06-09  |  2KB  |  67 lines

  1. //========================================================================
  2. //
  3. // config.h
  4. //
  5. // Copyright 1996 Derek B. Noonburg
  6. //
  7. //========================================================================
  8.  
  9. #ifndef CONFIG_H
  10. #define CONFIG_H
  11.  
  12. //------------------------------------------------------------------------
  13. // general constants
  14. //------------------------------------------------------------------------
  15.  
  16. // xpdf version
  17. #define xpdfVersion "0.5"
  18.  
  19. // supported PDF version
  20. #define pdfVersion "1.1"
  21. #define pdfVersionNum 1.1
  22.  
  23. // copyright notice
  24. #define xpdfCopyright "Copyright \251 1996 Derek B. Noonburg"
  25.  
  26. // paper size (in points) for PostScript output
  27. // (set to American 8.5"x11" for now; will be configurable later)
  28. #define paperWidth  612
  29. #define paperHeight 792
  30.  
  31. //------------------------------------------------------------------------
  32. // X-related constants
  33. //------------------------------------------------------------------------
  34.  
  35. // default maximum size of color cube to allocate
  36. #define defaultRGBCube 5
  37.  
  38. // number of fonts to cache
  39. #define fontCacheSize 16
  40.  
  41. //------------------------------------------------------------------------
  42. // misc
  43. //------------------------------------------------------------------------
  44.  
  45. #ifdef __riscos
  46. // snb94r@ecs.soton.ac.uk added this to set the decomp parameters
  47. // required for decompression under RISC OS
  48. #define uncompressCmd "gzip -n -d"
  49. #else
  50. #ifdef NO_POPEN
  51. // command to uncompress a file
  52. #ifdef USE_GZIP
  53. #define uncompressCmd "gzip -d"
  54. #else
  55. #define uncompressCmd "uncompress"
  56. #endif
  57. #else // NO_POPEN
  58. // command to uncompress to stdout
  59. #ifdef USE_GZIP
  60. #define uncompressCmd "gzip -d -c"
  61. #else
  62. #define uncompressCmd "uncompress -c"
  63. #endif
  64. #endif // NO_POPEN
  65. #endif // __riscos
  66. #endif
  67.